<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .d1{
            width: 100px;
            height: 100px;
            /* background: pink url(images/fan2.png) no-repeat; */
            background: #ccc;

            /* display: none; */
            
            display: inline;
        }

        .s1{
            width: 100px;
            height: 100px;
            background: green;

            display: inline-block;
        }

        .container{
            width: 800px;
            height: 500px;
            border: 1px solid #666;

            /* 弹性布局/弹性盒子 */
            display: flex;
            
            justify-content: space-evenly;

            /* align-items: center; */
        }
        .container div{
            width: 200px;
            /* height: 100px; */
        }
        .div1{
            background: red;
        }
        .div2{
            background: blue;
        }
        .div3{
            background: green;
        }
    </style>
</head>
<body>
    <div class="d1">div1</div>哈哈哈哈

    <span class="s1">span1</span>嘻嘻嘻嘻
    <hr>

    <div class="container">
        <div class="div1">div1</div>
        <div class="div2">div2</div>
        <div class="div3">div3</div>
    </div>
    
</body>
</html>